home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #14
/
Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO
/
prog_d
/
cpltest.zip
/
README.TXT
< prev
Wrap
Text File
|
1996-01-10
|
2KB
|
41 lines
Demo Installation:
Copy the CPL file included to your Windows System Directory
(EX: C:\Windows\system or C:\WIN95\system ... whatever)
And run CONTROL PANEL AFTER DOING THIS.
Essence of a CPL Applet:
A CPL Applet is nothing more than a DLL Without the TRUE
DLLEntry whatnot function. Is has the CPLApplet function
instead. The CPLApplet function is used as the entry
point into the DLL, reporting and receiving information
to and from the Control Panel. the CPL extension just means
that Control Panel will automatically pick it up when
it opens. I get the best results by putting it into my
Windows System directory. If you want to keep the
Extension DLL, then you must add a line to your
CONTROL.INI file instructing it to load the DLL
into the control panel:
EX:
[MMCPL]
ODBC=C:\WIN95\SYSTEM\ODBCINST.DLL
DELPHI=C:\win95\cpltest.dll
CREDITS:
I had been strugling with converting my old C Control Panel
Applications into DELPHI (No particular reason.. Just could it be
done?) As a C-man I found DELPHI's documentation (rather lack
thereof) not very helpful... so I turned to the man with the answers,
Kurt Barthelmess of Team B. He pointed out my errors and boy did
I feel 100% stupid. I've done PASCAL for 4 years and I felt like
a 3 month cadet after Kurt pointed my obvious errors out to me.
Looking past my ignorance, Kurt pointed me in the right direction.
So, if you like this unit, remember to thank Kurt "The Man" Barthelmess.
Also, in certain parts of this code I para-quote the CPL.INT
file found in the DELPHI/DOC directory as pertaining to the
CPL_xxx messages.
-Dave Rigsby